import asyncio
from pyppeteer import launch
async def main():
    start_parm={
        'executablePath':r'C:\Users\Auston\AppData\Local\pyppeteer\pyppeteer\local-chromium\588429\chrome-win32\chrome.exe',
        'headless':False
    }
    browser=await launch(start_parm)
    page=await browser.newPage()
    await page.evaluateOnNewDocument('() =>{ Object.defineProperties(navigator,'
                                     '{ webdriver:{ get: () => false } }) }')
    await page.setJavaScriptEnabled(True)
    await page.goto('https://httpbin.org/headers')
    page_text=await page.content()
    print(page_text)
    await browser.close()
asyncio.get_event_loop().run_until_complete(main())
